package com.yunpeng.aidevice.dao.model.entity;

import com.yunpeng.aidevice.dao.model.BaseEntityDO;

/**
 * <p>
 * 功能表
 * </p>
 *
 * @author hemw
 * @since 2020-04-07
 */
public class FunctionNodeDO extends BaseEntityDO {

    private static final long serialVersionUID = 1L;

    /**
     * 对应url
     */

    private String url;

    /**
     * 是否文件夹
     */

    private Boolean folder;

    /**
     * 父节点名称
     */

    private String parentName;

    /**
     * 父节点代码
     */

    private String parentCode;

    public String getUrl() {
        return this.url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Boolean getFolder() {
        return folder;
    }

    public void setFolder(Boolean folder) {
        this.folder = folder;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    @Override
    public String toString() {
        return "FunctionNodeDO{" +
                "id=" + id +
                ", creator=" + creator +
                ", createTime=" + createTime +
                ", updater=" + updater +
                ", updateTime=" + updateTime +
                ", flag=" + flag +
                ", name=" + name +
                ", code=" + code +
                ", tenantCode=" + tenantCode +
                ", url=" + url +
                ", folder=" + folder +
                ", parentName=" + parentName +
                ", parentCode=" + parentCode +
                "}";
    }
}
